vscode python
結局、
をgit cloneして、
$ vsce pacakge
して、 vsixファイルを作り、vscode上でimportした。だいぶ、快適になった。
https://gyazo.com/0074a7da04a5995b0a36f3205bcdf0dc
以下は、以前の文章
==============================================
run selection/line in python terminal (通常 shift-enterがキーバンド)は、
setting.jsonで、python.pythonPathを ipythonにかえておけば、ipythonでterminalが開く。
まだ、進行中。
(like you can do in PyCharm or Rstudio)
ソフト開発系とデータ分析系でニーズが違うのだけど、データ分析系の声はなかなか通りにくい。このあたり、どちらの立場もなんとなく理解できる。
次善の方法として、
IPython for VSCodeというextensionを入れて、
keybindで、ctr+enterで、ipython.sendSelectedToIPython を設定する。
pythonじゃないときに,,,,whenを設定する。
whenは、python (.pyファイルのときだけ)でできそうだけど、、どうやるのか。
open keyboard shortcuts を開く
when
code:json
[
{ "key": "ctrl+enter",
"command": "ipython.sendSelectedToIPython",
"when": "editorTextFocus && editorLangId == 'python'" }
]
ただ、これだと terminal(ipython)にいってしまう。
で、multi commandを設定するか、、また拡張いれて設定する???
それに、editorに戻るコマンド名が不明..
moveEditorGroup up ???
で、
を試すことにした。